#include "settings.h"


CSettings::CSettings()
{
}

CSettings::~CSettings()
{
}

bool CSettings::Load()
{
	return true;
}

bool CSettings::Save()
{
	return true;
}

void CSettings::Reset()
{
	m_set.version = ROBOT_VERSION;
	m_set.name = ROBOT_NAME;
	m_set.servoCnt = ROBOT_SERVO_CNT;
	m_set.offsetMin = ROBOT_OFFSET_MIN;
	m_set.offsetMax = ROBOT_OFFSET_MAX;
	m_set.mute = ROBOT_MUTE;
	m_set.volume = ROBOT_VOLUME;
	m_set.apIp = ROBOT_AP_IP;
	m_set.apPwd = ROBOT_AP_PWD;
	m_set.apPort = ROBOT_AP_PORT;
	
	m_set.state = AE_STS_IDEL;
	m_set.action = "";
	m_set.seqCnt = 0;
	m_set.nextSeq = 0;
	m_set.servoMsec = 0;
	m_set.waitMsec = 0;
	m_set.startMsec = 0;
  memset(m_set.lastAngles, 0x00, sizeof(m_set.lastAngles));
}

